﻿using System;
using System.Collections.Generic;

namespace EasyDDD.AdminModule.Models;

public partial record SysMenu
{
    /// <summary>
    /// ID
    /// </summary>
    public virtual Guid Id { get; set; } = default!;

    /// <summary>
    /// 软删除
    /// </summary>
    public virtual bool IsDeleted { get; set; } = default!;

    /// <summary>
    /// 租户ID
    /// </summary>
    public virtual Guid TenantId { get; set; } = default!;

    /// <summary>
    /// 父导航ID
    /// </summary>
    public virtual Guid ParentId { get; set; } = default!;

    /// <summary>
    /// 菜单类型
    /// </summary>
    public virtual short MenuType { get; set; } = default!;

    /// <summary>
    /// 菜单名称
    /// </summary>
    public virtual string Title { get; set; } = default!;

    /// <summary>
    /// 组件名称
    /// </summary>
    public virtual string Name { get; set; } = default!;

    /// <summary>
    /// 路由地址
    /// </summary>
    public virtual string Path { get; set; } = default!;

    /// <summary>
    /// 组件路径
    /// </summary>
    public virtual string Component { get; set; } = default!;

    /// <summary>
    /// 排序
    /// </summary>
    public virtual int Sort { get; set; } = default!;

    /// <summary>
    /// 路由重定向
    /// </summary>
    public virtual string Redirect { get; set; } = default!;

    /// <summary>
    /// 菜单图标
    /// </summary>
    public virtual string Icon { get; set; } = default!;

    /// <summary>
    /// 是否缓存
    /// </summary>
    public virtual bool Keepalive { get; set; } = default!;

    /// <summary>
    /// 显示标签页
    /// </summary>
    public virtual bool HiddenTag { get; set; } = default!;

    /// <summary>
    /// 固定标签页
    /// </summary>
    public virtual bool FixedTag { get; set; } = default!;

    /// <summary>
    /// 状态
    /// </summary>
    public virtual short Status { get; set; } = default!;

    /// <summary>
    /// 是否显示
    /// </summary>
    public virtual bool Show { get; set; } = default!;

    /// <summary>
    /// 权限标识
    /// </summary>
    public virtual string Permission { get; set; } = default!;

    /// <summary>
    /// 扩展字段
    /// </summary>
    public virtual string ExtJson { get; set; } = default!;

    /// <summary>
    /// 行版本
    /// </summary>
    public virtual Guid RowVersion { get; set; } = default!;
}
